package test06;

import java.util.Optional;

/**
 * @Author czl
 * @Date 2024-04-12
 */
public class MainTest01 {
    public static void main(String[] args) {
        Optional<Integer> optionalS = Optional.of(200);

        boolean present = optionalS.isPresent();
        if (present) {
            System.out.println(optionalS.get());
        }

    }
}
